import request from '@/utils/request'

// 查询合同用印申请列表
export function listAdminStamp(query) {
  return request({
    url: '/oa/adminStamp/list',
    method: 'get',
    params: query
  })
}

// 查询合同用印申请详细
export function getAdminStamp(id) {
  return request({
    url: '/oa/adminStamp/' + id,
    method: 'get'
  })
}

// 新增合同用印申请
export function addAdminStamp(data) {
  return request({
    url: '/oa/adminStamp',
    method: 'post',
    data: data
  })
}

// 修改合同用印申请
export function updateAdminStamp(data) {
  return request({
    url: '/oa/adminStamp',
    method: 'put',
    data: data
  })
}

// 删除合同用印申请
export function delAdminStamp(id) {
  return request({
    url: '/oa/adminStamp/' + id,
    method: 'delete'
  })
}
